package org.write2me.models.presentation
{
	import flash.events.IEventDispatcher;
	
	import org.swizframework.events.CentralDispatcher;
	import org.swizframework.controller.AbstractController;

	/**
	 * Abstract PresentationModel class, it is a conviniance class
	 * that extends AbstractController from Swiz framework. Extension 
	 * is simple just with a central dispatcher property. Assumption
	 * is that PresentationModel classes can communicate between each
	 * other either through Model objects or events. That is way
	 * most probably any PresentationModel will dispatch some events.
	 */
	public class AbstractPresentationModel extends AbstractController
	{
		
		public function AbstractPresentationModel()
		{
		}

		protected function get dispatcher():IEventDispatcher
		{
			return CentralDispatcher.getInstance();
		}
		
	}
}